package main

import (
	"bytes"
	"fmt"
	"strconv"

	"go.mod/student"
)

func main() {
	strBuf := bytes.NewBufferString("")
	stu := student.New("tom", 30)
	strBuf.WriteString(stu.Name)
	strBuf.WriteString(strconv.Itoa(stu.Age))
	defer student.Release(stu)
	fmt.Println(strBuf)

}
